<?php
	require "core/autoload.php";
	$browser = new browser();
	if(isset($_SESSION['login'])){
		$browser->action();
	}else{
		header('Location: /', true, 303);
	}
?>